<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/sys/include.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="<%=basePath%>"/>
<title>Tera</title>
<link href="css/global.css" type="text/css" rel="stylesheet"/>
<script src="js/jquery-1.5.1.min.js" type="text/javascript"></script>
<style type="text/css">
<!--
body{
	background-color:#f8ffd3;
	margin:0px; padding:0px;
}
-->
</style>
</head>
<body>

<div id="top">
	<ul>
		<li>当前用户:<a href="sysUserUpdateMyself.do" target="mainFrame"><c:out value="${login_user.name}" ></a></c:out></li>
		<li><a href="logout.do" target="_parent">退出登录</a></li>
	</ul>
	<br/>
</div>

<div id="navigation">
			<span class="hideleft">隐藏菜单</span>
			<span class="breadcrumb"><strong>| </strong><a href="main.do" onclick="javascript:document.getElementById('menuPathId').innerHTML='';" target="mainFrame">主页</a>：</span>
			<!-- 
			<span class="item">  <a href="#">个人菜单1</a> </span>
			<span class="item">  <a href="#">个人菜单2</a> </span>
			<span class="item">  <a href="#">个人菜单3</a> </span>
			 -->
			 <span id="menuPathId"></span>
</div>
<script language="javascript">
var hideleft=false;
$(document).ready(function(){
        //为Tab添加点击动作事件
        $(".hideleft").click( 
	    		function () {
	    			if(hideleft==false) {
	    					parent.document.getElementById("workframeset").cols="0,*";
	    					$(".hideleft").text("显示菜单");
	    					hideleft=true;
	    			} else {
	    					parent.document.getElementById("workframeset").cols="210,*";
	    					$(".hideleft").text("隐藏菜单");
	    					hideleft=false;
	    			}
	    		}
    		);
    });
</script>

</body>
</html>
